#include <iostream>
#include <string>
#include <vector>

class GitManager {
private:
    std::string repoPath;
    std::vector<std::string> branches;

public:
    GitManager() : repoPath("D:/vc/devops-platform") {
        branches.push_back("master");
        branches.push_back("vc2005-support");
        std::cout << "Git Manager initialized for VC++2005" << std::endl;
    }

    void ShowStatus() {
        std::cout << "Git Repository Status:" << std::endl;
        std::cout << "  Path: " << repoPath << std::endl;
        std::cout << "  Branches: " << branches.size() << std::endl;
        std::cout << "  Current: vc2005-support" << std::endl;
        std::cout << "  Compiler: VC++2005" << std::endl;
    }

    void ListBranches() {
        std::cout << "Available Branches:" << std::endl;
        for (size_t i = 0; i < branches.size(); ++i) {
            std::cout << "  " << (i + 1) << ". " << branches[i] << std::endl;
        }
    }

    bool CreateBranch(const std::string& branchName) {
        branches.push_back(branchName);
        std::cout << "Created branch: " << branchName << std::endl;
        return true;
    }
};
